package com.bgs.pojo;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 打卡表
 * </p>
 *
 * @author cui
 * @since 2022-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Punch对象", description="打卡表")
public class Punch {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Integer pid;

    @ApiModelProperty(value = "打卡时间")
    private LocalDateTime ptime;

    @ApiModelProperty(value = "打卡状态（0正常打卡  1迟到打卡 2未打卡  3打卡失败 ）")
    private Integer ptype;

    @ApiModelProperty(value = "出勤天数")
    private String days;

    @ApiModelProperty(value = "出勤时长")
    private String attendance;

    @ApiModelProperty(value = "迟到次数")
    private String late;

    @ApiModelProperty(value = "早退次数")
    private String early;

    @ApiModelProperty(value = "缺勤天数")
    private String no;


}
